package com.izliang.order.serviceImp;

import model.Order;
import org.apache.dubbo.config.annotation.Service;
import service.OrderService;

import java.util.UUID;

@Service
public class OrderServiceImp implements OrderService {

    @Override
    public Order findOrderByOrderId(int orderId) {
        Order order = new Order();
        order.setOrderSn(UUID.randomUUID().toString());
        return order;
    }

    @Override
    public void orderGenerate() {

    }

    @Override
    public void orderCreate() {
        System.out.println("订单生成");
    }
}
